const fs = require('fs');
const path = require('path');

const appDirectory = fs.realpathSync(process.cwd());
const resolveApp = relativePath => path.resolve(appDirectory, relativePath);

module.exports = {
	resolveApp,
	appPublic: resolveApp('public'),
	appHtml: resolveApp('public/index.html'),
	appSrc: resolveApp('src'),
	appDist: resolveApp('dist'),
	appTsconfig: resolveApp('tsconfig.json'),
}